<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>客户数据指标</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">

    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>

    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css" />
    <link rel="stylesheet" href="/css/input_tags.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/js/need/verfont.css" />
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/js/need/select.2.0.css" />
    <link rel="stylesheet" href="/css/skin.css"/>
    <link rel="stylesheet" href="/css/customerManager/user/myCustomerPool.css"/>

    <style>
        #customerDataIndicators .bootstrap-table{
            height: 244px!important;
            overflow-y: scroll!important;
        }
        /*#productListTable tbody{*/
        /*    height: 244px;*/
        /*    overflow-y: scroll;*/
        /*}*/
        #customerDataIndicators .fixed-table-pagination{
            display: none!important;
        }

    </style>
</head>
<body>
<div class="container-fluid customer-page" id="customerDataIndicators">
    <div class="card">
        <div class="card-header">
            <h1>客户数据指标</h1>
        </div>
        <div class="card-body charts-body">
            <div class="charts-action clearfix">
                <!-- 上年 本年 本周 本月 上月 -->
                <div class="time-search pull-left">
                    <input type="hidden" id="dateUnit" name="dateUnit" value='3' />
                    <div class="week active-second" id="dateUnit3" onclick="selectTime('week')">本周</div>
                    <div class="month" id="dateUnit4" onclick="selectTime('month')">本月</div>
                    <div class="lastMonth" id="dateUnit5" onclick="selectTime('lastMonth')">上月</div>
                    <div class="year" id="dateUnit2" onclick="selectTime('year')">本年</div>
                    <div class="lastYear" id="dateUnit1" onclick="selectTime('lastYear')">上年</div>
                </div>
            </div>
            <div class="card charts-card">
                <div class="card-header">
                    <h4>客户统计表</h4>
                </div>
                <div class="card-body" style="padding-top: 20px;">
                    <div style="width: 100%; height: 440px;" id="polyLine"></div>
                </div>
            </div>
            <div class="charts-action clearfix">
                <div class="row">
                    <div class="col-xs-6">
                        <!-- 全部 本年 本周 本月 上月 -->
                        <div class="time-search pull-left">
                            <input type="hidden" id="dateUnitForTable" name="dateUnitForTable" value=1 />
                            <div class="all active-second" id="dateUnitForTable1" onclick="selectTimeForTable('all')">全部</div>
                            <div class="week" id="dateUnitForTable2" onclick="selectTimeForTable('week')">本周</div>
                            <div class="lastMonth" id="dateUnitForTable3" onclick="selectTimeForTable('lastMonth')">上月</div>
                            <div class="month" id="dateUnitForTable4" onclick="selectTimeForTable('month')">本月</div>
                            <div class="year" id="dateUnitForTable5" onclick="selectTimeForTable('year')">本年</div>
                        </div>
                    </div>
                    <div class="col-xs-6">
                        <div class="pull-right" style="width: 160px;">
                            <select class="form-control" id="typeSelect" type="text" title="客户类型" onchange="selectOnchang()">
                                <option value="">全部客户</option>
                                <option value="1">会员成交客户</option>
                                <option value="2">非会员成交客户</option>
                                <option value="3">意向客户</option>
                                <option value="4">无意向客户</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="followTable-box">
                <table id="followTable"></table>
            </div>
            <div class="row">
                <div class="col-xs-6">
                    <div class="card charts-card">
                        <div class="card-header">
                            <h4>客户区域分布图</h4>
                        </div>
                        <div class="card-body" style="padding-top: 20px;">
                            <div style="width: 100%;height: 415px;" id="main"></div>
                        </div>
                    </div>
                </div>
                <div class="col-xs-6">
                    <div class="card charts-card">
                        <div class="card-header">
                            <h4>客户商机分层</h4>
                        </div>
                        <div class="card-body" style="padding-top: 20px;">
                            <div class="row total-info">
                                <div class="col-xs-6">
                                    <h6>当前商机客户占比</h6>
                                    <p><span id="percentage">0</span> / <span id="percentageTotal">0</span></p>
                                </div>
                                <div class="col-xs-5">
                                    <h6>当前未录入商机客户</h6>
                                    <p><span id="hasNotOpportunity">300</span></p>
                                </div>
                            </div>
                            <div style="width: 100%;height: 340px;" id="histogram"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>


<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/input-tag.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
<!-- 拖动 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>

<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>
<script src="/js/verSelect.2.0.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!-- -&#45;&#45;-->
<!--标签插件-->
<script src="/js/jquery-tags-input/jquery.tagsinput.min.js"></script>
<!--时间选择插件-->

<!-- 图表 -->
<!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=kcYfyfCl6Ds1ZY7jNnQLkw1MvaCLm0wq"></script>-->
<script type="text/javascript" src="/js/echarts.min.js"></script>
<script type="text/javascript" src="/js/china.js"></script>
<!--<script type="text/javascript" src="/js/extension/bmap.min.js"></script>-->
<!-- 多选框下拉 -->
<script src="/js/verSelect.2.0.js"></script>
<script src="/js/crm/customerManager/customerStatistics.js"></script>
</html>
